
class Avatar {
	
  Person person
  String userid
  byte[] avatar
  
  
  static belongsTo = Person
  
  static constraints = {
    avatar(nullable:true, maxSize: 40960 /* 16K */)
    userid(nullable:true)
  }
}